<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> 
    <title> - 天地维杰网</title>
    <meta name="keywords" content="系统架构,shutdown,不与天斗,Domino,博客,程序员,架构师,笔记,技术,分享,java,Redis">
    
    <meta property="og:title" content="">
    <meta property="og:site_name" content="天地维杰网">
    <meta property="og:image" content="/img/author.jpg"> 
    <meta name="title" content=" - 天地维杰网" />
    <meta name="description" content="天地维杰网 | 博客 | 软件 | 架构 | Java "> 
    <link rel="shortcut icon" href="http://www.shutdown.cn/img/favicon.ico" />
    <link rel="apple-touch-icon" href="http://www.shutdown.cn/img/apple-touch-icon.png" />
    <link rel="apple-touch-icon-precomposed" href="http://www.shutdown.cn/img/apple-touch-icon.png" />
    <link href="http://www.shutdown.cn/js/vendor/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css" />
    <link href="http://www.shutdown.cn/js/vendor/fancybox/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />
    <link href="http://www.shutdown.cn/css/main.css" rel="stylesheet" type="text/css" />
    <link href="http://www.shutdown.cn/css/syntax.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" id="hexo.configuration">
  var NexT = window.NexT || {};
  var CONFIG = {
    scheme: 'Pisces',
    sidebar: {"position":"left","display":"post"},
     fancybox: true, 
    motion: true
  };
</script>
</head>
<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">
<div class="container one-collumn sidebar-position-left page-home  ">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"> <div class="site-meta  custom-logo ">

  <div class="custom-logo-site-title">
    <a href="http://www.shutdown.cn"  class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <span class="site-title">天地维杰网</span>
      <span class="logo-line-after"><i></i></span>
    </a>
  </div>
  <p class="site-subtitle">人如秋鸿来有信，事若春梦了无痕</p>
</div>

<div class="site-nav-toggle">
  <button>
    <span class="btn-bar"></span>
    <span class="btn-bar"></span>
    <span class="btn-bar"></span>
  </button>
</div>

<nav class="site-nav">
    <ul id="menu" class="menu">
      
      
        <li class="menu-item ">
          <a href="http://www.shutdown.cn/" rel="section">
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br />首页
          </a>
        </li>
      
        <li class="menu-item ">
          <a href="http://www.shutdown.cn/categories/redis/" rel="section">
              <i class="menu-item-icon fa fa-fw fa-battery-full"></i> <br />Redis
          </a>
        </li>
      
        <li class="menu-item ">
          <a href="http://www.shutdown.cn/categories/java/" rel="section">
              <i class="menu-item-icon fa fa-fw fa-coffee"></i> <br />java
          </a>
        </li>
      
        <li class="menu-item ">
          <a href="http://www.shutdown.cn/categories/linux/" rel="section">
              <i class="menu-item-icon fa fa-fw fa-linux"></i> <br />linux
          </a>
        </li>
      
        <li class="menu-item ">
          <a href="http://www.shutdown.cn/categories/daily/" rel="section">
              <i class="menu-item-icon fa fa-fw fa-bug"></i> <br />日常问题
          </a>
        </li>
      
        <li class="menu-item ">
          <a href="http://www.shutdown.cn/categories/spring/" rel="section">
              <i class="menu-item-icon fa fa-fw fa-child"></i> <br />Spring和Springboot
          </a>
        </li>
      
        <li class="menu-item ">
          <a href="http://www.shutdown.cn/categories/spring/" rel="section">
              <i class="menu-item-icon fa fa-fw fa-fire"></i> <br />Mac相关
          </a>
        </li>
      
        <li class="menu-item ">
          <a href="http://www.shutdown.cn/categories/middleware/" rel="section">
              <i class="menu-item-icon fa fa-fw fa-gavel"></i> <br />中间件
          </a>
        </li>
      
        <li class="menu-item ">
          <a href="http://www.shutdown.cn/categories/jiagou/" rel="section">
              <i class="menu-item-icon fa fa-fw fa-rocket"></i> <br />架构
          </a>
        </li>
      
        <li class="menu-item ">
          <a href="http://www.shutdown.cn/categories/python/" rel="section">
              <i class="menu-item-icon fa fa-fw fa-ship"></i> <br />python
          </a>
        </li>
      
        <li class="menu-item ">
          <a href="http://www.shutdown.cn/categories/front/" rel="section">
              <i class="menu-item-icon fa fa-fw fa-bolt"></i> <br />前端
          </a>
        </li>
      
        <li class="menu-item ">
          <a href="http://www.shutdown.cn/categories/jvm/" rel="section">
              <i class="menu-item-icon fa fa-fw fa-balance-scale"></i> <br />JVM
          </a>
        </li>
      
        <li class="menu-item ">
          <a href="http://www.shutdown.cn/post/" rel="section">
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br />归档
          </a>
        </li>
      
        <li class="menu-item ">
          <a href="http://www.shutdown.cn/about/" rel="section">
              <i class="menu-item-icon fa fa-fw fa-user"></i> <br />关于
          </a>
        </li>
      
      <li class="menu-item menu-item-search">
        <a href="javascript:;" class="popup-trigger"> <i class="menu-item-icon fa fa-search fa-fw"></i> <br /> 搜索</a>
      </li>
    </ul>
    <div class="site-search">
      <div class="popup">
 <span class="search-icon fa fa-search"></span>
 <input type="text" id="local-search-input">
 <div id="local-search-result"></div>
 <span class="popup-btn-close">close</span>
</div>

    </div>
</nav>

 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            
<section id="posts" class="posts-expand">
  <article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">
    <header class="post-header">
      <h1 class="post-title" itemprop="name headline">
        <a class="post-title-link" href="http://www.shutdown.cn/post/cachecloud%E5%AE%89%E8%A3%85%E9%83%A8%E7%BD%B2%E4%B8%8E%E7%BE%A4%E9%9B%86%E5%88%9B%E5%BB%BA%E6%B5%81%E7%A8%8B%E6%B5%8B%E8%AF%95/" itemprop="url">
        
        </a>
      </h1>
      <div class="post-meta">
      <span class="post-time">
<span class="post-meta-item-icon">
    <i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">时间：</span>
<time itemprop="dateCreated" datetime="2016-03-22T13:04:35+08:00" content="0001-01-01">
    0001-01-01
</time>
</span> 
      
      
       <span>
&nbsp; | &nbsp;
<span class="post-meta-item-icon">
    <i class="fa fa-eye"></i>
</span>
<span class="post-meta-item-text">阅读：</span>
<span class="leancloud-visitors-count">300 字 ~2分钟</span>
</span>
      </div>
    </header>
    <div class="post-body" itemprop="articleBody">
    

    

<h1 id="cachecloud安装部署与群集创建流程测试">CacheCloud安装部署与群集创建流程测试</h1>

<p>首先在vmware中创建4个CENTOS系统的虚拟机，</p>
<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-fallback" data-lang="fallback">cachecloud-web:cachecloud服务部署的服务器
cachecloud-machine01、02、03: cachecloud要管理的资源服务器将会在上面创建redis集群</code></pre></div>
<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/1632906257431-20210929170416.png" width = 300 /> </div>

<p>功能的拓扑图：</p>

<table>
<thead>
<tr>
<th>机器</th>
<th>Ip</th>
</tr>
</thead>

<tbody>
<tr>
<td>cachecloud-web</td>
<td>10.4.7.211</td>
</tr>

<tr>
<td>cachecloud-machine01</td>
<td>10.4.7.212</td>
</tr>

<tr>
<td>Cachecloud-machine02</td>
<td>10.4.7.213</td>
</tr>

<tr>
<td>Cachecloud-machine03</td>
<td>10.4.7.214</td>
</tr>
</tbody>
</table>

<p>机器配置网络</p>
<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell"><span style="color:#8f5902;font-style:italic"># 关闭防火强 必须执行</span>
systemctl stop firewalld
<span style="color:#8f5902;font-style:italic"># 安装 epel</span>
yum install epel-release
<span style="color:#8f5902;font-style:italic"># 安装常用工具</span>
yum install wget net-tools telnet tree nmap sysstat lrzsz dos2unix bind-utils nc ifconfig wget -y</code></pre></div><div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell"><span style="color:#8f5902;font-style:italic"># 修改网络配置文件</span>
vi /etc/sysconfig/network-scripts/ifcfg-ens33</code></pre></div>
<p>ifcfg-ens33配置文件内容如下</p>
<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-fallback" data-lang="fallback">TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=static
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=ens33
UUID=2d30e58d-0954-4959-b44f-04c0c0beac65
DEVICE=ens33
ONBOOT=yes

# GATEWAY和IPADDR自己设置就可以，格式正常就行
GATEWAY=10.4.7.1
IPADDR=10.4.7.211
NETMASK=255.255.252.0
# DNS要设置的与网络中的DNS的一致
DNS1=10.2.3.20</code></pre></div>
<p>修改后保存，并重启network</p>
<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell">systemctl restart network</code></pre></div>
<p>其他三台资源机也做相同配置，区别只是IPADDR做区分</p>

<p>使用idea下载cachecloud源码  <code>https://github.com/sohutv/cachecloud.git</code></p>

<p>创建一个mysql数据库，然后执行项目中的初始化sql，我是在Docker中创建的Mysql数据库，具体步骤省略。</p>

<blockquote>
<p>sql有两个，2.0.sql 和 update2.0-2.1.sql</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/1632909701144-20210929180140.png" width = 300 /> </div>
</blockquote>

<p>创建一个redis服务，我是在Docker中创建，具体步骤省略。</p>

<p>将Mysql、redis的信息配置到cachecloud的application-local.yml配置中</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/1632909834632-20210929180352.png" width = 600 /> </div>

<p>在cachecloud-web服务器配置免登录配置，将本机的 <code>~/.ssh/id_rsa.pub</code> 文件的内容复制到cachecloud-web服务器的 <code>/root/.ssh/authorized_keys</code> 文件中。然后即可配置免登录。</p>

<p>在cachecloud-web服务器创建 <code>/opt/cachecloud-web</code> 目录</p>
<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell">mkdir -p /opt/cachecloud-web</code></pre></div>
<p>cachecloud-web服务器安装jdk</p>

<p>1.查看yum库中都有哪些jdk版本(暂时只发现了openjdk)</p>
<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell"><span style="color:#ce5c00;font-weight:bold">[</span>root@localhost ~<span style="color:#ce5c00;font-weight:bold">]</span><span style="color:#8f5902;font-style:italic"># yum search java|grep jdk</span>
……
java-1.8.0-openjdk.x86_64 : OpenJDK Runtime Environment
……</code></pre></div>
<p>2.选择1.8版本进行安装</p>
<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell"><span style="color:#ce5c00;font-weight:bold">[</span>root@localhost ~<span style="color:#ce5c00;font-weight:bold">]</span><span style="color:#8f5902;font-style:italic"># yum install java-1.8.0-openjdk</span>
//安装完之后，默认的安装目录是在: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75.x86_64

安装时如果出现
Delta RPMs disabled because /usr/bin/applydeltarpm not installed. 的错误，
依次执行以下命令即可
yum provides <span style="color:#4e9a06">&#39;*/applydeltarpm&#39;</span>
yum install deltarpm</code></pre></div>
<p>3.设置环境变量</p>
<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell"><span style="color:#ce5c00;font-weight:bold">[</span>root@localhost ~<span style="color:#ce5c00;font-weight:bold">]</span><span style="color:#8f5902;font-style:italic"># vi /etc/profile</span></code></pre></div>
<p>在profile文件中添加如下内容</p>
<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-fallback" data-lang="fallback">#set java environment
JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75.x86_64
JRE_HOME=$JAVA_HOME/jre
CLASS_PATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:$JRE_HOME/lib
PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME/bin
export JAVA_HOME JRE_HOME CLASS_PATH PATH</code></pre></div>
<p>让修改环境变量生效</p>
<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell"><span style="color:#ce5c00;font-weight:bold">[</span>root@localhost java<span style="color:#ce5c00;font-weight:bold">]</span><span style="color:#8f5902;font-style:italic"># source /etc/profile</span></code></pre></div>
<p>创建 restart.sh脚本</p>
<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash"><span style="color:#8f5902;font-style:italic">#!/bin/bash
</span><span style="color:#8f5902;font-style:italic"></span>
ps -ef<span style="color:#000;font-weight:bold">|</span>grep cachecloud-web<span style="color:#000;font-weight:bold">|</span>grep -v grep<span style="color:#000;font-weight:bold">|</span>awk <span style="color:#4e9a06">&#39;{print $2}&#39;</span><span style="color:#000;font-weight:bold">|</span>xargs <span style="color:#204a87">kill</span>

nohup java -jar cachecloud-web.war &gt;&gt; stdout.log <span style="color:#000;font-weight:bold">&amp;</span>

tail -f stdout.log</code></pre></div>
<p>在idea中的cachecloud-web项目的根目录下创建 deploy.sh脚本</p>
<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell"><span style="color:#8f5902;font-style:italic">#!/bin/bash
</span><span style="color:#8f5902;font-style:italic"></span>
mvn clean compile install -Plocal

<span style="color:#204a87;font-weight:bold">if</span> <span style="color:#ce5c00;font-weight:bold">[</span> <span style="color:#000">$?</span> -ne <span style="color:#0000cf;font-weight:bold">0</span> <span style="color:#ce5c00;font-weight:bold">]</span><span style="color:#000;font-weight:bold">;</span><span style="color:#204a87;font-weight:bold">then</span>
    <span style="color:#204a87">echo</span> <span style="color:#4e9a06">&#34;mvn failed&#34;</span>
    <span style="color:#204a87">exit</span> <span style="color:#0000cf;font-weight:bold">1</span>
<span style="color:#204a87;font-weight:bold">fi</span>
<span style="color:#000">TARGET</span><span style="color:#ce5c00;font-weight:bold">=</span>root@10.4.7.211:/opt/cachecloud-web
scp bin/* <span style="color:#4e9a06">${</span><span style="color:#000">TARGET</span><span style="color:#4e9a06">}</span>
scp target/cachecloud-web.war <span style="color:#4e9a06">${</span><span style="color:#000">TARGET</span><span style="color:#4e9a06">}</span>

ssh root@10.4.7.211 <span style="color:#4e9a06">&#34;cd /opt/cachecloud-web &amp;&amp; sh restart.sh&#34;</span></code></pre></div>
<p>restart.sh脚本内容</p>
<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash"><span style="color:#8f5902;font-style:italic">#!/bin/bash
</span><span style="color:#8f5902;font-style:italic"></span>
ps -ef<span style="color:#000;font-weight:bold">|</span>grep cachecloud-web<span style="color:#000;font-weight:bold">|</span>grep -v grep<span style="color:#000;font-weight:bold">|</span>awk <span style="color:#4e9a06">&#39;{print $2}&#39;</span><span style="color:#000;font-weight:bold">|</span>xargs <span style="color:#204a87">kill</span>

nohup java -jar cachecloud-web.war &gt;&gt; stdout.log <span style="color:#000;font-weight:bold">&amp;</span>

tail -f stdout.log</code></pre></div>
<p>环境准备好以后，我们就可以执行deploy.sh脚本，将cachecloud-web项目打包并传输到cachecloud-web服务器上，并启动cachecloud-web服务。访问 <a href="http://10.4.7.211:8080/">http://10.4.7.211:8080/</a> 即可访问cachecloud服务</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/1632913894745-20210929191133.png" width = 600 /> </div>

<p>配置接入服务器 参考文档  <a href="https://github.com/sohutv/cachecloud/wiki/3.%E6%9C%8D%E5%8A%A1%E5%99%A8%E7%AB%AF%E6%8E%A5%E5%85%A5%E6%96%87%E6%A1%A3">https://github.com/sohutv/cachecloud/wiki/3.%E6%9C%8D%E5%8A%A1%E5%99%A8%E7%AB%AF%E6%8E%A5%E5%85%A5%E6%96%87%E6%A1%A3</a></p>

<p>资源服务器配置</p>

<p>(a). 使用root登录目标服务器。
(b). 将cachecloud-init.sh脚本拷贝到目标服务器当前用户目录下，然后<code>chmod a+x cachecloud-init.sh</code>进行赋权。
        这个注意，要放到当前用户目录下执行，如当前用户是root，就在/root目录下，按文档操作能减少很多麻烦
&copy;. 执行 sh cachecloud-init.sh ${yourusername}
        这里，如果不给定username直接执行的话，那会创建默认用户，需要调整的话，可以修改 cachecloud-init.sh文件的这个部分。</p>
<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-fallback" data-lang="fallback">username=&#34;cachecloud-open&#34;
password=&#34;cachecloud-open&#34;</code></pre></div>
<p>(d). 如果给定用户名，则需要两次确认密码
(e). 一路安装直到成功。</p>

<p>使用admin admin登录缓存平台</p>

<p>进到系统配置功能，下图红线处，资源机执行cachecloud-init.sh时配置的机器的用户名密码如果改动了，这里要做相应的改动。</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/1632970498183-20210930105456.png" width = 600 /> </div>

<p>进入到后台到机器管理，点击添加机器</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/1632969626827-20210930104023.png" width = 600 /> </div>

<p>添加机器</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/1632970912711-20210930110150.png" width = 600 /> </div>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/1632970967572-20210930110245.png" width = 600 /> </div>

<p>配置资源，这里要注意将ip和根目录进行配置，</p>

<p>资源下载地址，在申请集群时，会从资源下载地址进行缓存安装包的链接进行下载，如redis-3.2.12这个redis安装包，的下载地址会是 <a href="http://10.4.7.211/software/cachecloud/resource/redis-3.2.12/redis-3.2.12-make.tar.gz">http://10.4.7.211/software/cachecloud/resource/redis-3.2.12/redis-3.2.12-make.tar.gz</a> ，需要提前准备好相应的下载地址，否则创建集群的时候会有问题，我本地做测试，是在cachecloud-web服务器上面启动了httpd，开了80端口提供下载。</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/1632971636520-20210930111353.png" width = 600 /> </div>

<p>安装并启动httpd</p>
<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-fallback" data-lang="fallback">#安装httpd
yum install httpd 
#启动httpd
systemctl start httpd.service
#创建文件路径 /var/www/html 是域名的根，后台的是请求的路径
mkdir -p /var/www/html/software/cachecloud/resource/redis
#复制redis安装包文件到目录中</code></pre></div>
<p>然后通过链接  <a href="http://10.4.7.211/software/cachecloud/resource/redis-3.2.12-make.tar.gz">http://10.4.7.211/software/cachecloud/resource/redis-3.2.12-make.tar.gz</a> 就可以下载到安装文件了。</p>

<p>通过前台申请集群</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/1632989082328-20210930160439.png" width = 600 /> </div>

<p>提交后后台会有工单提醒</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/1632989149965-20210930160547.png" width = 600 /> </div>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/1632989272163-20210930160750.png" width = 600 /> </div>

<p>生成部署预览</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/1632989314483-20210930160832.png" width = 600 /> </div>

<p>连接到服务器上可以看到每个机器实例都正常创建的redis实例。</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/1632989524966-20210930161158.png" width = 600 /> </div>

<p>如果遇到中断的情况，可以去资源服务器上查下安装日志，看看原因，如下图是未安装wget导致的，也有其他原因，比如说未关闭防火墙等。</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/1632990312698-20210930162512.png" width = 600 /> </div>

<p>处理好以后，可以到任务管理中，以中断条件搜索任务，然后重新执行该步骤。</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/1632990711520-20210930163148.png" width = 600 /> </div>

<p>当RedisClusterAppDeployTask任务全部执行完成，如下图，说明集群已经创建好了。</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/20211011173500.png" width = 600 /> </div>

<p>在工单中会出现通过按钮，就可以对工单进行审批通过操作。</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/1632990912234-20210930163509.png" width = 600 /> </div>

<p>申请用户在应用前台就可以看到申请的集群</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/1632990988594-20210930163627.png" width = 600 /> </div>

<p>进行集群可以看到集群的信息。</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/1632991019005-20210930163656.png" width = 600 /> </div>

<p>小功告成！</p>

    </div>
    <footer class="post-footer">
     

     <div class="post-nav">
    <div class="post-nav-next post-nav-item">
    
        <a href="http://www.shutdown.cn/post/cachecloud%E5%AE%89%E8%A3%85%E9%83%A8%E7%BD%B2/" rel="next" title="">
        <i class="fa fa-chevron-left"></i> 
        </a>
    
    </div>

    <div class="post-nav-prev post-nav-item">
    
        <a href="http://www.shutdown.cn/post/cachecloud%E6%85%A2%E6%97%A5%E5%BF%97%E5%AE%9A%E6%97%B6%E4%BB%BB%E5%8A%A1%E5%88%9B%E5%BB%BA%E6%B5%81%E7%A8%8B%E5%88%86%E6%9E%90/" rel="prev" title="">
         <i class="fa fa-chevron-right"></i>
        </a>
    
    </div>
</div>
      
     
     
     






    </footer>
  </article>
</section>

          </div>
        </div>
        <div class="sidebar-toggle">
  <div class="sidebar-toggle-line-wrap">
    <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
    <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
    <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
  </div>
</div>
<aside id="sidebar" class="sidebar">
  <div class="sidebar-inner">

    <section class="site-overview sidebar-panel  sidebar-panel-active ">
      <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
    <img class="site-author-image" itemprop="image"
        src="http://www.shutdown.cn/img/author.jpg"
        alt="不与天斗Domino" />
    <p class="site-author-name" itemprop="name">不与天斗Domino</p>
    <p class="site-description motion-element" itemprop="description"> 
        Programmer &amp; Architect</p>
</div>
      <nav class="site-state motion-element">
    <div class="site-state-item site-state-posts">
      <a href="http://www.shutdown.cn/post/">
        <span class="site-state-item-count">173</span>
        <span class="site-state-item-name">日志</span>
      </a>
    </div>
    <div class="site-state-item site-state-categories">    
        <a href="http://www.shutdown.cn/categories/">      
         
        <span class="site-state-item-count">10</span>
        
        <span class="site-state-item-name">分类</span>
        
        </a>
    </div>

    <div class="site-state-item site-state-tags">
        <a href="http://www.shutdown.cn/tags/">
         
        <span class="site-state-item-count">63</span>
        
        <span class="site-state-item-name">标签</span>
        </a>
    </div>
</nav>
      
      

      

      <div class="links-of-blogroll motion-element inline">
<script type="text/javascript" src="//rf.revolvermaps.com/0/0/8.js?i=&amp;m=0&amp;s=220&amp;c=ff0000&amp;cr1=ffffff&amp;f=arial&amp;l=33&amp;bv=35" async="async"></script>
</div>

    </section>
    
  </div>
</aside>

      </div>
    </main>
   
    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright" >
  <span itemprop="copyrightYear">  &copy; 
  2013 - 2022</span>
  <span class="with-love"><i class="fa fa-heart"></i></span>
  <span class="author" itemprop="copyrightHolder">天地维杰网</span>
  <span class="icp" itemprop="copyrightHolder"><a href="https://beian.miit.gov.cn/" target="_blank">京ICP备13019191号-1</a></span>
</div>
<div class="powered-by">
  Powered by - <a class="theme-link" href="http://gohugo.io" target="_blank" title="hugo" >Hugo v0.63.2</a>
</div>
<div class="theme-info">
  Theme by - <a class="theme-link" href="https://github.com/xtfly/hugo-theme-next" target="_blank"> NexT
  </a>
</div>


      </div>
    </footer>

    <div class="back-to-top">
      <i class="fa fa-arrow-up"></i>
      <span id="scrollpercent"><span>0</span>%</span>
    </div>
  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>
<script type="text/javascript" src="http://www.shutdown.cn/js/vendor/jquery/index.js?v=2.1.3"></script>
<script type="text/javascript" src="http://www.shutdown.cn/js/vendor/fastclick/lib/fastclick.min.js?v=1.0.6"></script> 
<script type="text/javascript" src="http://www.shutdown.cn/js/vendor/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>
<script type="text/javascript" src="http://www.shutdown.cn/js/vendor/velocity/velocity.min.js?v=1.2.1"></script>
<script type="text/javascript" src="http://www.shutdown.cn/js/vendor/velocity/velocity.ui.min.js?v=1.2.1"></script>
<script src="http://www.shutdown.cn/js/vendor/ua-parser-js/dist/ua-parser.min.js?v=0.7.9"></script>

<script src="http://www.shutdown.cn/js/vendor/fancybox/jquery.fancybox.pack.js?v=2.1.5"></script>

<script type="text/javascript" src="http://www.shutdown.cn/js/utils.js"></script>
<script type="text/javascript" src="http://www.shutdown.cn/js/motion.js"></script>
<script type="text/javascript" src="http://www.shutdown.cn/js/affix.js"></script>
<script type="text/javascript" src="http://www.shutdown.cn/js/schemes/pisces.js"></script>

<script type="text/javascript" src="http://www.shutdown.cn/js/scrollspy.js"></script>
<script type="text/javascript" src="http://www.shutdown.cn/js/post-details.js"></script>
<script type="text/javascript" src="http://www.shutdown.cn/js/toc.js"></script>

<script type="text/javascript" src="http://www.shutdown.cn/js/bootstrap.js"></script>

<script type="text/javascript" src="http://www.shutdown.cn/js/search.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX", "output/HTML-CSS"],
    tex2jax: {
      inlineMath: [ ['$','$'] ],
      displayMath: [ ['$$','$$'] ],
      processEscapes: true
    },
    "HTML-CSS": { fonts: ["TeX"] }
  });
</script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_HTMLorMML' async></script>
</body>
</html>